﻿
@{
    ViewBag.Title = "设置用户";
    Layout = "~/Areas/BMS/Views/Shared/_Layout.cshtml";
}
@section script{
    <script>
        var id = @Model.Id;
    </script>
}
<div class="nav-bar"> 基础管理 > <a class="padding-0-4-0-4" href="/BMS/Role"> 角色管理 </a> > 设置用户 </div>
<div class="container-fluid p-t-15">
    <div class="row">
        <div class="col-lg-12">

            <div class="card">
                <header class="card-header">
                    <div id="toolbar" class="toolbar-btn-action">
                        <a id="btnBack" href="/BMS/Role" class="btn btn-default m-r-5">
                            <span class="mdi mdi-keyboard-backspace" aria-hidden="true"></span>返回
                        </a>
                        <button id="btnAdd" type="button" class="btn btn-primary m-r-5">
                            <span class="mdi mdi-plus" aria-hidden="true"></span>新增
                        </button>
                        <button id="btnDel" type="button" class="btn btn-danger m-r-5">
                            <span class="mdi mdi-window-close" aria-hidden="true"></span>批量删除
                        </button>
                    </div>
                    <div class="page-loading btn"></div>
                </header>
                <div class="card-body">
                    <table id="userRoleTable" class="table min-table-size"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<!--模态框层-->
<div class="modal fade" id="dialogModal" tabindex="-1" role="dialog" aria-labelledby="dialogModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h6 class="modal-title" id="dialogModalTitle">新增菜单</h6>
                <div class="page-loading btn"></div>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="toolbar-btn-action">
                    <form>
                        <div class="form-group form-row">
                            <div class="col-auto">
                                <select id="searchType" class="form-control">
                                    <option value="0">Uid</option>
                                    <option value="1">用户名</option>
                                    <option value="2">手机号</option>
                                    <option value="3">邮箱</option>
                                    <option value="4">昵称</option>
                                    <option value="5">姓名</option>
                                    
                                </select>
                            </div>
                            <div class="col-auto">
                                <input type="text" class="form-control" id="searchText" placeholder="输入查询内容...">
                            </div>
                            <div class="col-auto">
                                <button id="btnSearch" type="button" class="btn btn-info"><span class="mdi mdi-find-replace" aria-hidden="true"></span> 查询</button>
                            </div>
                        </div>
                    </form>
                </div>
                <table id="userTable" class="table min-table-size"></table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" id="btnSave">保存</button>
            </div>
        </div>
    </div>
</div>